#ifndef MANUALTHREAD_H
#define MANUALTHREAD_H

#include <QObject>
#include <QThread>
#include "serialportsmanager.h"



class FrameWindow;
class ATCommandItem;

class ManualThread : public QThread
{
    Q_OBJECT

public:

    QMap<QString,SerialPortsManager*> *COMMap;
    explicit  ManualThread(FrameWindow *frameWindow);
    ~ManualThread();

    virtual void run();

    int init();

public:
signals:

    void manualSendAndReceive(QString COM,QString data,QString rw);
public slots:

private:
    FrameWindow *parent;

    int dealData(QString COM, QString comm,QByteArray rec);


};

#endif // MANUALTHREAD_H
